package D1105;

public class  Square extends   Shape{
    @Override
    public double getArea(double x){
        double area=x*x;
        return area;
    }
    @Override
    public double getLength(double x){
        double length=(x+x)*2;
        return length;
    }

}
